package com.tao.service;


import com.tao.pojo.entity.AddressBook;

import java.util.List;

public interface AddressBookService {

    List<AddressBook> list(AddressBook addressBook);

    void save(AddressBook addressBook);

    AddressBook getById(Integer id);

    void update(AddressBook addressBook);

    void setDefault(AddressBook addressBook);

    void deleteById(Integer id);

}
